package com.xjnt.base.support.admin.controller;

import com.xjnt.base.support.admin.entity.Menu;
import com.xjnt.base.support.admin.service.MenuService;
import com.xjnt.frameworks.annotation.AutoInject;
import com.xjnt.frameworks.annotation.Router;
import com.xjnt.frameworks.core.CRUDController;

@Router(name="/system/admin/menu", view="/admin/menu")
public class MenuController extends CRUDController<Menu, MenuService> {

	@AutoInject
	private MenuService menuService;
	
	@Override
	protected String getBizName() {
		return "菜单";
	}
	
	@Override
	protected Class<Menu> getClazz() {
		return Menu.class;
	}

	@Override
	protected MenuService getService() {
		return menuService;
	}

}
